import React, {Suspense} from 'react';
import BasicRouter from './components/BasicRouter';
import LoadingShade from './components/LoadingShade';
import './App.css';
import 'antd/dist/antd.css';
import Gopher from './tooling/Gopher';

const gopher = new Gopher();

export default function App() {
	return (
		<Suspense fallback={<LoadingShade />}>
			<div className={'wrapper'}>
				<BasicRouter gopher={gopher} />
			</div>
		</Suspense>
	);
}
